Eclipse Platform
Pre-release 3.0

org.eclipse.ui.contexts
Class ContextActivationServiceEvent

java.lang.Object
  extended byorg.eclipse.ui.contexts.ContextActivationServiceEvent

public final class ContextActivationServiceEvent
extends Object

An instance of this class describes changes to an instance of IContextActivationService.

This class is not intended to be extended by clients.

EXPERIMENTAL

Since:
3.0
See Also:
IContextActivationServiceListener.contextActivationServiceChanged(org.eclipse.ui.contexts.ContextActivationServiceEvent)

Constructor Summary
ContextActivationServiceEvent(IContextActivationService contextActivationService, boolean activeContextIdsChanged)
          Creates a new instance of this class.
 
Method Summary
 IContextActivationService getContextActivationService()
          Returns the instance of the interface that changed.
 boolean haveActiveContextIdsChanged()
          Returns whether or not the activeContextIdsChanged property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextActivationServiceEvent

public ContextActivationServiceEvent(IContextActivationService contextActivationService,
                                     boolean activeContextIdsChanged)
Creates a new instance of this class.

Parameters:
contextActivationService - the instance of the interface that changed.
activeContextIdsChanged - true, iff the activeContextIds property changed.
Method Detail

getContextActivationService

public IContextActivationService getContextActivationService()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

haveActiveContextIdsChanged

public boolean haveActiveContextIdsChanged()
Returns whether or not the activeContextIdsChanged property changed.

Returns:
true, iff the activeContextIdsChanged property changed.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.